package com.itheima.advantagesup.vo;

import com.sun.org.apache.xpath.internal.operations.String;
import io.swagger.annotations.ApiModelProperty;
import io.swagger.models.auth.In;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;
import java.util.List;

/**
 * @author iTaotao
 * @date 2023/7/26 15:53
 * @desciption: 发布文章
 */
@Data
@Builder
@AllArgsConstructor
@NoArgsConstructor
public class AddArticleVO<T> implements Serializable {

    private Integer userId;
    private Integer id;

    @ApiModelProperty("标题")
    private String title;
    private String click;

    @ApiModelProperty("作者")
    private String author;

    @ApiModelProperty("分类id")
    private String cateid;

    @ApiModelProperty("标签字符串")
    private String tags;

    @ApiModelProperty("图片地址")
    private String pic;

    @ApiModelProperty("正文内容")
    private String content;

    @ApiModelProperty("文章状态 1.草稿 2.发布")
    private String status;

    /**
     * 创建时间
     */
    private String create_date;

    /**
     * 更新时间
     */
    private Integer update_date;
    private String defaultData;
    private String description;
    private String ishot;
    private String istop;
    private String keywords;
    private String lovenum;

    private Integer count;//总数
    private Integer totalPages;//总页数
    private Integer pageSize;//每页数量
    private Integer currentPage;//当前页码
    private List<T> data;


}
